#include "mahCaclService.h"
#include "ina226.h"
unsigned long mAH;
void smAHReset(void)
{
    mAH = 0;
}
//ina226GetCurrent to get Current;
void smAHCacl(void)
{
    float tmp = ina226GetCurrent();
    mAH = mAH + (unsigned long)((tmp + 0.0005) * 1000);
}
